import type from './type'
import {createStore} from 'redux'
let userarr:any = (state:{arr:[]},action:any)=>{
    switch(action.type){
        case type.USERARR:
        return {arr:action.pyload}
    }
    return state
}


export default createStore(userarr)
